package org.wxd.common.utils;

import java.util.Collection;
import java.util.Map;

/**
 * Created by wangxd on 2016/10/25.
 */
public class CollectionUtil {

    public static boolean isNotEmpty(Collection<?> cn){
        return cn != null && !cn.isEmpty();
    }
    public static boolean isNotEmpty(Map<?,?> cn){
        return cn != null && !cn.isEmpty();
    }

}
